home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000145_news@columbia.edu_Wed Apr 12 15:29:37 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA16982
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 16 Apr 1995 06:10:36 -0400
  3. Received: by apakabar.cc.columbia.edu id AA10387
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 16 Apr 1995 06:10:31 -0400
  5. Newsgroups: comp.lang.tcl,comp.protocols.kermit.misc
  6. Path: news.columbia.edu!panix!news.mathworks.com!uunet!psinntp!maui!gcm.com!weiwen
  7. From: weiwen@gcm.com (Wei-Wen Lee)
  8. Subject: Expect w/ Kermit
  9. Message-Id: <1995Apr12.152937.1784@gcm.com>
  10. Sender: usenet@gcm.com (Cnews Administrator)
  11. Organization: Greenwich Capital Markets, Inc.
  12. X-Newsreader: TIN [version 1.2 PL2]
  13. Date: Wed, 12 Apr 1995 15:29:37 GMT
  14. Lines: 35
  15. Xref: news.columbia.edu comp.lang.tcl:27621 comp.protocols.kermit.misc:2512
  16. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  17.  
  18. Hi,
  19.  
  20.     I am trying to automate some file downloads (kermiting across,
  21. ftp, transfer, download back to host machine, etc) and I am encountering
  22. some problems.  I wrote an expect script, which, when run by hand, works
  23. fine.  But, when I try to kick the expect script via filter
  24.  
  25.     filter-rule: if <cond> then execute <command>
  26.  
  27. kermit gives me this error : 
  28.     Error opening /dev/tty
  29.     congm: No such device or address
  30.  
  31.      Trying 192.9.205.2...
  32.  
  33.     C-Kermit 5A(189), 30 June 93, SunOS 4.1 (BSD)
  34.  
  35. I don't know if this is a kermit problem or an expect problem. I don't THINK
  36. it is an expect problem, since expect seems to run fine. It seems like a
  37. kermit init problem, but I am not sure.  In my expect script, I just do a :
  38.  
  39.     spawn kermit
  40.  
  41. with these lines in my .kermrc
  42.  
  43.     set host internet
  44.     set file type binary
  45.     set window-size 20
  46.  
  47. Any help would be appreciated. 
  48.  
  49. Thanks.
  50.  
  51.  
  52.